﻿using MediatR;
using SlaughterItem.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace SlaughterItem.API.Application.Commands.Week02.UPC
{
    public class AddUPCDataCommand:IRequest<Result>
    {
        /// <summary>
        /// 商品代号ID
        /// </summary>
        public int GoodsMinuteId { get; set; }
        /// <summary>
        /// 助记码
        /// </summary>
        public string MemoryNum { get; set; } = string.Empty;
        /// <summary>
        /// 商品分类Id
        /// </summary>
        public int CommodityId { get; set; }
        /// <summary>
        /// 顺序号 
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 等级ID
        /// </summary>
        public int GoodsGradeId { get; set; }
        /// <summary>
        /// 商品代号名称
        /// </summary>
        public string UPCDataName { get; set; } = string.Empty;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsGoodsMinute { get; set; } = false;
    }
}
